package cn.edu.scau.cmi.liweihang.abstractFactory.factory;

import cn.edu.scau.cmi.liweihang.abstractFactory.domainMeat.KindOfMeat;

public abstract class AbstractFactory {

	public static AbstractFactory getFactory(String brand) {
		switch(brand) {
		case"Wens":
			return new WensFactory();
		case"TianBang":
			return new TianBangFactory();
		case"Aonong":
			return new AonongFactory();
		
		}
		return null;
	}
	
	public abstract KindOfMeat cookPork();
	public abstract KindOfMeat cookBeef();
	public abstract KindOfMeat cookChicken();
}
